package xin.clips.common.enums.gy;



/**
 * 设备状态枚举
 *
 * @author clips
 */
public enum DeviceStatusEnum {
    NORMAL(1,"正常"),WARNING(2,"告警"), OFFLINE(3,"离线"),ERROR(4,"预警");

    private Integer code;
    private String info;

    private DeviceStatusEnum(Integer code, String info){
        this.code = code;
        this.info = info;
    };
    public Integer getCode() {
        return code;
    }
    public String getInfo() {
        return info;
    }

}
